import request from '@/utils/request'

// 提交访客预约申请
export function applyVisit(data) {
  return request({
    url: '/visitor/apply',
    method: 'post',
    data
  })
}

// 获取访客列表
export function getVisitList(params) {
  return request({
    url: '/visitor/list',
    method: 'get',
    params
  })
}